#ifndef __YONK_H__
#define __YONK_H__

#define N 64

typedef struct {

	int type;			//permissinn;
	char name[N];		//name of staff;
	char password[N];	//password of staff;

}USER;

typedef struct {

	char name[N];		//name;
	char addr[N];		//address;
	int age;			//age of staff;
	int level;			//grade;
	int empnum;			//employee number;
	char phone[N];		//cellphone number;
	double salary;		//salary of employee;
	
}INFO;

typedef struct {

	char name[N];		//name;
	char addr[N];		//address;
	char age[N];		//age of staff;
	char level[N];		//grade;
	char empnum[N];		//employee number;
	char phone[N];		//cellphone number;
	char salary[N];		//salary of employee;
	
}TRAN_INFO;


typedef struct {

	int login_ack;		//0:all right, 1:account not exists, 
						//2:password error, 3:already login 4:server unusual;
	
	int choice;			//function choice;	1:success   0:false 
						// 1:apped	2:delete	3:modification	4:acquire	5:exit
}COMUNI;

#endif

